package java180.d;

class FloatTest {
	public static void main(String args[]){
		float floatSample[][] = new float[2][3];
		
		System.out.println("Before assignment!\n");
		for(int i=0;i<floatSample.length;i++)
			for(int j=0;j<floatSample[0].length;j++)
				System.out.println("floatSample["+i+"]["+j
						+"]="+floatSample[i][j]);
		
		for(int i=0;i<floatSample.length;i++)
			for(int j=0;j<floatSample[0].length;j++)
				floatSample[i][j]=i+j;
		
		System.out.println("\nAfter assignment!\n");
		
		for(int i=0;i<floatSample.length;i++)
			for(int j=0;j<floatSample[0].length;j++)
				System.out.println("floatSample["+i+"]["+j
						+"]="+floatSample[i][j]);
	}
}
